package com.ruoyi.system.service;

import java.util.List;

import cn.wildfirechat.pojos.PojoGroupMember;
import com.ruoyi.system.domain.GroupMember;
import com.ruoyi.system.domain.TGroup;
import com.ruoyi.system.dto.GroupMemberDTO;

/**
 * max group member countService接口
 * 
 * @author ruoyi
 * @date 2025-08-18
 */
public interface ITGroupService 
{
    /**
     * 查询max group member count
     * 
     * @param id max group member count主键
     * @return max group member count
     */
    public TGroup selectTGroupById(Long id);

    /**
     * 查询max group member count列表
     * 
     * @param tGroup max group member count
     * @return max group member count集合
     */
    public List<TGroup> selectTGroupList(TGroup tGroup);

    /**
     * 新增max group member count
     * 
     * @param tGroup max group member count
     * @return 结果
     */
    public Boolean insertTGroup(TGroup tGroup);

    /**
     * 修改max group member count
     * 
     * @param tGroup max group member count
     * @return 结果
     */
    public int updateTGroup(TGroup tGroup);

    /**
     * 批量删除max group member count
     * 
     * @param ids 需要删除的max group member count主键集合
     * @return 结果
     */
    public int deleteTGroupByIds(Long[] ids);

    /**
     * 删除max group member count信息
     * 
     * @param id max group member count主键
     * @return 结果
     */
    public int deleteTGroupById(Long id);

    /**
     * 组员信息
     * @param groupId
     * @return
     */
    List<GroupMemberDTO> listByGroupMember(String groupId);

    /**
     * 添加或删除组员
     * @param tGroup
     * @return
     */
    int groupMemberAddOrDel(TGroup tGroup);

    /**
     * 获取用户对应的群组信息
     * @param groupIds
     * @return
     */
    List<TGroup> getGroupList(List<String> groupIds);
}
